package com.banmao.mall.model.vo.client.search;

import com.banmao.mall.model.pojo.Keyword;
import com.banmao.mall.model.pojo.SearchHistory;

import java.util.List;

public class SearchIndexVO {

    /**
     * defaultKeyword : {"id":6,"keyword":"520元礼包抢先领","url":"","isHot":true,"isDefault":true,"sortOrder":1,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false}
     * hotKeywordList : [{"id":6,"keyword":"520元礼包抢先领","url":"","isHot":true,"isDefault":true,"sortOrder":1,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":11,"keyword":"9","url":"9","isHot":true,"isDefault":true,"sortOrder":100,"addTime":"2021-05-10 12:39:13","updateTime":"2021-05-10 12:39:13","deleted":false},{"id":12,"keyword":"123","url":"123","isHot":true,"isDefault":true,"sortOrder":100,"addTime":"2021-05-10 15:28:01","updateTime":"2021-05-10 15:28:01","deleted":false},{"id":15,"keyword":"豹子编辑","url":"baidu","isHot":true,"isDefault":false,"sortOrder":100,"addTime":"2021-05-10 21:58:45","updateTime":"2021-05-10 22:45:15","deleted":false},{"id":17,"keyword":"test","url":"111","isHot":true,"isDefault":true,"sortOrder":100,"addTime":"2021-05-11 17:06:44","updateTime":"2021-05-11 17:06:44","deleted":false}]
     * historyKeywordList : [{"keyword":"mao"},{"keyword":"毛进"},{"keyword":"枕头"},{"keyword":"睡枕"}]
     */

    private Keyword defaultKeyword;
    private List<Keyword> hotKeywordList;
    private List<SearchHistory> historyKeywordList;

    public Keyword getDefaultKeyword() {
        return defaultKeyword;
    }

    public void setDefaultKeyword(Keyword defaultKeyword) {
        this.defaultKeyword = defaultKeyword;
    }

    public List<Keyword> getHotKeywordList() {
        return hotKeywordList;
    }

    public void setHotKeywordList(List<Keyword> hotKeywordList) {
        this.hotKeywordList = hotKeywordList;
    }

    public List<SearchHistory> getHistoryKeywordList() {
        return historyKeywordList;
    }

    public void setHistoryKeywordList(List<SearchHistory> historyKeywordList) {
        this.historyKeywordList = historyKeywordList;
    }

}
